﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace tantrinh.Models
{
    public class NhanHieu
    {
        public int NhanHieuID { get; set; }
        [Required(ErrorMessage = "Chưa nhập nhãn hiệu.")]
        [Display(Name = "Tên Nhãn Hiệu")]
        public string TenNhanHieu { get; set; }
        public string Logo { get; set; }
        public bool TinhTrang { get; set; }

        public virtual ICollection<SanPham> SanPham { get; set; }
    }
}